The QTMLGetVolumeRootPath routine takes a Windows path and returns that portion of it which points to the volume root.
OSErr QTMLGetVolumeRootPath(
char *fullPath,
char * volumeRootPath,
unsigned long volumeRootLen);
This routine works in the following way. If you pass in
c:\some folder\test.mov
\\my_server\shared_folder\mystuff\test.mov
\\my_server\shared_folder\
This is useful when you need to call Windows routines, such as GetVolumeInformation , which take a volume root path as an argument.
| Previous | Chapter Contents | Chapter Top | Next |